<?php
/* @var $this PenerimaanTamuController */
/* @var $model PenerimaanTamu */

$this->breadcrumbs=array(
	'Penerimaan Tamu'=>array('check'),
	'Check',
);
?>

<h1>Penerimaan Tamu</h1>

<div class="form center">
<?php
	
$form=$this->beginWidget('CActiveForm', array(
	'id'=>'penerimaan-tamu-form',
	'enableAjaxValidation'=>false,
)); 

?>

	<div class="row">
		
		<?php
		echo $form->labelEx($model,'Masukan Nomor Konfirmasi');
		echo $form->textField($model,'no_konfirmasi',array('size'=>20,'maxlength'=>20)); 
		if($result!=NULL){
			?>
				<div class="errorMessage">
					Nomor Konfirmasi : "<?php echo $result;?>" tidak ditemukan. <br/>
				</div>
				<br/>Klik <?php echo CHtml::link('disini', array('PenerimaanTamu/create'))?> untuk registrasi tamu
		<?php
		}
		?>
		
	</div>
	<div class="row buttons">
		<?php echo CHtml::submitButton('Cari'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->
